package com.cmc.cloud.cmclink.doc.vo.multimodaltransport.multimanifest;

import com.cmc.cloud.cmclink.doc.configuration.LocalDateTimeSerializer;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * 订舱主分页 Request VO
 *
 * @author codegen
 */
@Schema(description = "管理后台 - 订舱主分页 Request VO")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class MultiManifestRespVO {

    private Long id;

    @Schema(description = "订舱号")
    private String bookingNo;

    @Schema(description = "仓单号")
    private String manifestNo;

    @Schema(description = "总单号")
    private String masterMfNo;

    @Schema(description = "订舱船名 line 第一段")
    private String bookingVessel;

    @Schema(description = "订舱航次 line 第一段")
    private String bookingVoyage;

    @Schema(description = "预配箱量")
    private String forecast;

    @Schema(description = "实装箱量")
    private String container;

    @Schema(description = "接货地")
    private String porCode;

    @Schema(description = "装货港")
    private String polCode;

    @Schema(description = "卸货港")
    private String podCode;

    @Schema(description = "目的地")
    private String delCode;

    @Schema(description = "舱位代码")
    private String spaceOwner;

    @Schema(description = "确认状态")
    private String confirmStatus;

    @Schema(description = "预配舱单发送状态")
    private String customsMfStatus;

    @Schema(description = "装载舱单发送状态")
    private String loadingMfStatus;

    @Schema(description = "海关回执能容")
    private String customsFeedback;

    @Schema(description = "数据来源")
    private String dataSource;

    @Schema(description = "前程船名")
    private String preVessel;

    @Schema(description = "前程航次")
    private String preVoyage;

    private String creator;

    @JsonSerialize(using = LocalDateTimeSerializer.class)
    private LocalDateTime createTime;
}

